﻿using Framework.Utility.ViewModels;
using System.ComponentModel.DataAnnotations.Schema;

namespace Framework.Models.Entities
{
    [Table("Fw_ApprovalRecord")]
    public class Fw_ApprovalRecord 
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 流程实例id
        /// </summary>
        public string InstanceId { get; set; } 

        /// <summary>
        /// 当前节点id
        /// </summary>
        public string CurrentNodeId { get; set; }

        /// <summary>
        /// 审批结果
        /// </summary>
        public int ApprovalReslut { get; set; }

        /// <summary>
        /// 审批结果说明
        /// </summary>
        public string ApprovalRemark { get; set; }

        /// <summary>
        /// 是否会签节点  0-会签，1-或签
        /// </summary>
        public bool CounterSign { get; set; }

        /// <summary>
        /// 审批人ID
        /// </summary>
        public string ApprovalUserId { get; set; }

        /// <summary>
        /// 审批人姓名
        /// </summary>
        public string ApprovalUserName { get; set; }

        /// <summary>
        /// 授权时间
        /// </summary>
        public DateTime ApprovalTime { get; set; }
    }
}